package com.pys.menu;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Menu implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	private List<MenuParentItem> parentList;

	public Menu() {
		this.parentList = new ArrayList<MenuParentItem>();

	}

	public void addParentItem(MenuParentItem parentItem) {
		this.parentList.add(parentItem);
	}

	public List<MenuParentItem> getParentList() {
		return parentList;
	}

	public void setParentList(List<MenuParentItem> parentList) {
		this.parentList = parentList;
	}
}
